package com.travel.model.enums;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
//枚举用户的不同角色，并与不同的接口集成
//用户角色枚举 普通用户 服务提供者 管理员
@Getter
@RequiredArgsConstructor
@Schema(description = "User role enumeration")
public enum Role {
    @Schema(description = "Normal user role")
    USER("普通用户"),
    
    @Schema(description = "Service provider role")
    PROVIDER("服务提供者"),
    
    @Schema(description = "Administrator role")
    ADMIN("管理员");

    @Schema(description = "Role description in Chinese")
    private final String description;
} 